package cn.kgc.kgcuserprovider.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import pojo.User;

/**
 * @author geQiang
 * @version 1.0
 * @date 2019/4/12
 * @description cn.kgc.kgcuserprovider.mapper
 */
@Mapper
public interface UserMapper {
    @Select("select * from user where username=#{username} and password=#{username}")
    User longin(User user);
}
